package com.moolng.feign.service01;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 李权
 * @description
 * @date 2021/1/6 18:39
 */

@FeignClient(value = "service01")
public interface IndexControllerFeign {
    
    @RequestMapping("/s1/index/{str}")
    String index(@PathVariable String str);
    
}
